using Microsoft.Extensions.DependencyInjection;
using Project.EntityFrameworkCore;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace Project.Application {
    [DependsOn (
        typeof (AbpAutoMapperModule),
        typeof (AbpDddApplicationModule),
        typeof (ProjectEntityFrameworkCoreModule)
    )]
    public class ProjectApplicationModule : AbpModule {
        public override void ConfigureServices (ServiceConfigurationContext context) {
            context.Services.Configure<AbpAutoMapperOptions> (o => {
                o.AddProfile<ProjectApplicationAutomapperProfile> ();
            });
        }
    }
}